/*
 * consumer.c
 *
 *  Created on: Mar 7, 2013
 *      Author: abrahamsantini
 */
#include "semaphore.h"
#include "sharedMemory.h"
//#include "process.h"
#include "consumer.h"

int init_consumer(consumer_t *cons, sharedMemory_t *the_sm) {
	cons -> next_instr= 0;
	cons -> sm = the_sm;
	cons->num_of_cycles =0;
	//initialize an array of function pointers here
	return 0;
}
